package com.sdy.dataexchange.meta.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.sdy.common.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author wyy
 * @since 2019-11-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class MetadataErrorRecord extends BaseModel {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId
    private Integer id;

    /**
     * 数据源id
     */
    private Integer dbId;
    /**
     * 涉及表id
     */
    private Integer modId;
    /**
     * 涉及字段ID
     */
    private Integer colId;

    /**
     * 涉及表名称
     */
    private String tableName;
    /**
     * 涉及字段名称
     */
    private String columnName;

    /**
     * 错误类型
     */
    private Integer errorType;

    /**
     * 描述
     */
    private String errorDescribe;


    private MetadataColumn metadataColumn;

}
